<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>MUI</title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="css/mui.min.css">
<style>
html,body {
    background-color: #efeff4;
}
.mui-bar .mui-pull-left .mui-icon {
    padding-right: 5px;
    font-size: 28px;
}
.mui-bar .mui-btn {
    font-weight: normal;
    font-size: 17px;
}
.mui-bar .mui-btn-link {
    top: 1px;
}
</style>
<script type="text/javascript">
window.location.href = "tab.html?id=" + Math.random();
</script>
</head>
<body>
<header id="header" class="mui-bar mui-bar-nav">
    <h1 class="mui-title">导航栏</h1>
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <a class="mui-icon mui-icon-bars mui-pull-right"></a>
</header>
<div class="mui-content">
    <div id="tabbar1" class="mui-control-content mui-active">1</div>
    <div id="tabbar2" class="mui-control-content">2</div>
    <div id="tabbar3" class="mui-control-content">3</div>
    <div id="tabbar4" class="mui-control-content">4</div>
</div>
<nav class="mui-bar mui-bar-tab">
    <a class="mui-tab-item mui-active" href="#tabbar1"><span class="mui-icon mui-icon-home"></span><span class="mui-tab-label">首页</span></a>
    <a class="mui-tab-item" href="#tabbar2"><span class="mui-icon mui-icon-email"><span class="mui-badge">9</span></span><span class="mui-tab-label">消息</span></a>
    <a class="mui-tab-item" href="#tabbar3"><span class="mui-icon mui-icon-contact"></span><span class="mui-tab-label">通讯录</span></a>
    <a class="mui-tab-item" href="#tabbar4"><span class="mui-icon mui-icon-gear"></span><span class="mui-tab-label">设置</span></a>
</nav>
<script src="js/mui.min.js"></script>
<script type="text/javascript">
function plusReady()
{
    //alert("imei=" + plus.device.imei);
    //alert("imsi=" + plus.device.imsi);
    //alert("model=" + plus.device.model);
    //alert("vendor=" + plus.device.vendor);
    //alert("uuid=" + plus.device.uuid);
    //alert(navigator.userAgent);
    //alert(window.location.href);
    //plus.device.dial("10086", false);
}
document.addEventListener("plusready", plusReady, false);
</script>
</body>
</html>
